.class public Lde/innosystec/unrar/rarfile/i;
.super Lde/innosystec/unrar/rarfile/c;
.source "FileNameHeader.java"


# instance fields
.field private j:I

.field private k:Lde/innosystec/unrar/rarfile/HostSystem;

.field private l:B

.field private m:B

.field private n:S

.field private o:I

.field private p:I

.field private q:[B

.field private r:Ljava/lang/String;

.field private s:Ljava/lang/String;

.field private t:J

.field private u:J


# direct methods
.method public constructor <init>(Lde/innosystec/unrar/rarfile/c;[BLes/vo0;)V
    .locals 5

    .line 1
    invoke-direct {p0, p1}, Lde/innosystec/unrar/rarfile/c;-><init>(Lde/innosystec/unrar/rarfile/c;)V

    .line 2
    const-class p1, Lde/innosystec/unrar/rarfile/i;

    invoke-virtual {p1}, Ljava/lang/Class;->getName()Ljava/lang/String;

    move-result-object p1

    invoke-static {p1}, Lorg/apache/commons/logging/LogFactory;->getLog(Ljava/lang/String;)Lorg/apache/commons/logging/Log;

    const/4 p1, 0x0

    .line 3
    invoke-static {p2, p1}, Les/ap0;->b([BI)I

    move-result p3

    iput p3, p0, Lde/innosystec/unrar/rarfile/i;->j:I

    const/4 p3, 0x4

    .line 4
    aget-byte p3, p2, p3

    invoke-static {p3}, Lde/innosystec/unrar/rarfile/HostSystem;->findHostSystem(B)Lde/innosystec/unrar/rarfile/HostSystem;

    move-result-object p3

    iput-object p3, p0, Lde/innosystec/unrar/rarfile/i;->k:Lde/innosystec/unrar/rarfile/HostSystem;

    const/4 p3, 0x5

    .line 5
    invoke-static {p2, p3}, Les/ap0;->b([BI)I

    const/16 p3, 0x9

    .line 6
    invoke-static {p2, p3}, Les/ap0;->b([BI)I

    .line 7
    iget-byte p3, p0, Lde/innosystec/unrar/rarfile/i;->l:B

    const/16 v0, 0xd

    aget-byte v0, p2, v0

    and-int/lit16 v0, v0, 0xff

    or-int/2addr p3, v0

    int-to-byte p3, p3

    iput-byte p3, p0, Lde/innosystec/unrar/rarfile/i;->l:B

    .line 8
    iget-byte p3, p0, Lde/innosystec/unrar/rarfile/i;->m:B

    const/16 v0, 0xe

    aget-byte v0, p2, v0

    and-int/lit16 v0, v0, 0xff

    or-int/2addr p3, v0

    int-to-byte p3, p3

    iput-byte p3, p0, Lde/innosystec/unrar/rarfile/i;->m:B

    const/16 p3, 0xf

    .line 9
    invoke-static {p2, p3}, Les/ap0;->c([BI)S

    move-result p3

    iput-short p3, p0, Lde/innosystec/unrar/rarfile/i;->n:S

    const/16 p3, 0x11

    .line 10
    invoke-static {p2, p3}, Les/ap0;->b([BI)I

    .line 11
    invoke-virtual {p0}, Lde/innosystec/unrar/rarfile/i;->o()Z

    move-result p3

    const/16 v0, 0x15

    if-eqz p3, :cond_0

    .line 12
    invoke-static {p2, v0}, Les/ap0;->b([BI)I

    move-result p3

    iput p3, p0, Lde/innosystec/unrar/rarfile/i;->o:I

    const/16 p3, 0x19

    .line 13
    invoke-static {p2, p3}, Les/ap0;->b([BI)I

    move-result p3

    iput p3, p0, Lde/innosystec/unrar/rarfile/i;->p:I

    const/16 v0, 0x1d

    goto :goto_0

    .line 14
    :cond_0
    iput p1, p0, Lde/innosystec/unrar/rarfile/i;->o:I

    .line 15
    iput p1, p0, Lde/innosystec/unrar/rarfile/i;->p:I

    .line 16
    iget p3, p0, Lde/innosystec/unrar/rarfile/i;->j:I

    const/4 v1, -0x1

    if-ne p3, v1, :cond_1

    .line 17
    iput v1, p0, Lde/innosystec/unrar/rarfile/i;->j:I

    const p3, 0x7fffffff

    .line 18
    iput p3, p0, Lde/innosystec/unrar/rarfile/i;->p:I

    .line 19
    :cond_1
    :goto_0
    iget-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->t:J

    iget p3, p0, Lde/innosystec/unrar/rarfile/i;->o:I

    int-to-long v3, p3

    or-long/2addr v1, v3

    iput-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->t:J

    const/16 p3, 0x20

    shl-long/2addr v1, p3

    .line 20
    iput-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->t:J

    .line 21
    invoke-virtual {p0}, Lde/innosystec/unrar/rarfile/c;->k()I

    move-result v3

    int-to-long v3, v3

    or-long/2addr v1, v3

    iput-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->t:J

    .line 22
    iget-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->u:J

    iget v3, p0, Lde/innosystec/unrar/rarfile/i;->p:I

    int-to-long v3, v3

    or-long/2addr v1, v3

    iput-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->u:J

    shl-long/2addr v1, p3

    .line 23
    iput-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->u:J

    .line 24
    iget p3, p0, Lde/innosystec/unrar/rarfile/i;->j:I

    int-to-long v3, p3

    or-long/2addr v1, v3

    iput-wide v1, p0, Lde/innosystec/unrar/rarfile/i;->u:J

    .line 25
    iget-short p3, p0, Lde/innosystec/unrar/rarfile/i;->n:S

    const/16 v1, 0x1000

    if-le p3, v1, :cond_2

    const/16 p3, 0x1000

    :cond_2
    iput-short p3, p0, Lde/innosystec/unrar/rarfile/i;->n:S

    .line 26
    new-array p3, p3, [B

    iput-object p3, p0, Lde/innosystec/unrar/rarfile/i;->q:[B

    const/4 p3, 0x0

    .line 27
    :goto_1
    iget-short v1, p0, Lde/innosystec/unrar/rarfile/i;->n:S

    if-ge p3, v1, :cond_3

    .line 28
    iget-object v1, p0, Lde/innosystec/unrar/rarfile/i;->q:[B

    aget-byte v2, p2, v0

    aput-byte v2, v1, p3

    add-int/lit8 v0, v0, 0x1

    add-int/lit8 p3, p3, 0x1

    goto :goto_1

    .line 29
    :cond_3
    invoke-virtual {p0}, Lde/innosystec/unrar/rarfile/i;->n()Z

    move-result p2

    if-eqz p2, :cond_5

    .line 30
    invoke-virtual {p0}, Lde/innosystec/unrar/rarfile/i;->p()Z

    move-result p2

    if-eqz p2, :cond_5

    const-string p2, ""

    .line 31
    iput-object p2, p0, Lde/innosystec/unrar/rarfile/i;->r:Ljava/lang/String;

    .line 32
    iput-object p2, p0, Lde/innosystec/unrar/rarfile/i;->s:Ljava/lang/String;

    const/4 p2, 0x0

    .line 33
    :goto_2
    iget-object p3, p0, Lde/innosystec/unrar/rarfile/i;->q:[B

    array-length v0, p3

    if-ge p2, v0, :cond_4

    aget-byte p3, p3, p2

    if-eqz p3, :cond_4

    add-int/lit8 p2, p2, 0x1

    goto :goto_2

    .line 34
    :cond_4
    new-array p3, p2, [B

    .line 35
    iget-object v0, p0, Lde/innosystec/unrar/rarfile/i;->q:[B

    invoke-static {v0, p1, p3, p1, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V

    .line 36
    iput-object p3, p0, Lde/innosystec/unrar/rarfile/i;->q:[B

    :cond_5
    return-void
.end method


# virtual methods
.method public l()[B
    .locals 1

    .line 1
    iget-object v0, p0, Lde/innosystec/unrar/rarfile/i;->q:[B

    return-object v0
.end method

.method public m()J
    .locals 2

    .line 1
    iget-wide v0, p0, Lde/innosystec/unrar/rarfile/i;->t:J

    return-wide v0
.end method

.method public n()Z
    .locals 2

    .line 1
    sget-object v0, Lde/innosystec/unrar/rarfile/UnrarHeadertype;->FileHeader:Lde/innosystec/unrar/rarfile/UnrarHeadertype;

    iget-byte v1, p0, Lde/innosystec/unrar/rarfile/b;->d:B

    invoke-virtual {v0, v1}, Lde/innosystec/unrar/rarfile/UnrarHeadertype;->equals(B)Z

    move-result v0

    return v0
.end method

.method public o()Z
    .locals 1

    .line 1
    iget-short v0, p0, Lde/innosystec/unrar/rarfile/b;->e:S

    and-int/lit16 v0, v0, 0x100

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method

.method public p()Z
    .locals 1

    .line 1
    iget-short v0, p0, Lde/innosystec/unrar/rarfile/b;->e:S

    and-int/lit16 v0, v0, 0x200

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    :goto_0
    return v0
.end method
